Android 源码编译make的错误处理 | 您所在的位置:网站首页 › make 编译报错 › Android 源码编译make的错误处理 |
阅读更多
Android源码下载:官方下载或参考android源码下载方式 Android编译版本:PLATFORM_VERSION=4.0.1(最新Android 4.0.1) OS 操作系统平台:Linux yanggang 2.6.35-30-generic #61-Ubuntu SMP Tue Oct 11 15:29:15 UTC 2011 i686 GNU/Linux(Ubuntu10.10 32bit) 首先,我们先安装一些常用的工具curl:sudo apt-get install curl git: sudo apt-get install git g++:sudo apt-get install g++ 然后,make遇到缺什么就安装什么 /usr/bin/ld: cannot find -lz host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit statusmake: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1解决方法: sudo apt-get install zlib1g-dev sudo apt-get install lib64z1-dev /bin/bash: bison: command not found Yacc: aidl |
今日新闻 |
推荐新闻 |
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 |